﻿using System;
using System.Collections.Generic;
using Colorful.Furniture.CommonDto;

namespace Colorful.Furniture.BasicDataManagement
{
    /// <summary>
    ///  库位区域分页输入体
    /// </summary>
    public class AreaPagedInputDto : PageInputDto
    {
        /// <summary>
        /// 区域编码
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 状态（0：禁用；1：启用）
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public Guid? WarehouseId { get; set; }

    }

    /// <summary>
    ///  创建输入体
    /// </summary>
    public class CreateAreaInputDto
    {
        /// <summary>
        /// 区域名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public Guid? WarehouseId { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string WarehouseName { get; set; }


    }

    /// <summary>
    ///  保存信息
    /// </summary>
    public class SaveAreaInputDto : CreateAreaInputDto
    {
        /// <summary>
        ///  id
        /// </summary>
        public Guid Id { get; set; }

    }

    /// <summary>
    /// 更改状态输入体
    /// </summary>
    public class AreaStatesInputDto
    {
        /// <summary>
        /// 区域id
        /// </summary>
        public List<Guid?> Id { get; set; }

        /// <summary>
        ///  状态（禁用和启用）
        /// </summary>

        public int StateType { get; set; }
    }

}
